package com.xinqi.modules.discuss.notice.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.UpdateTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 实体层
 *
 * @author: yyzhen
 * @date: 2023/03/21
 */
@Setter
@Getter
@TableName("co_course_notice_student_log")
public class CourseNoticeStudentLogEntity extends UpdateTimeEntity {
    /**
     * 班级ID (统计所需)
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 课程内容ID
     */
    @TableField(value = "content_id")
    private Long contentId;
    /**
     * 学生ID
     */
    @TableField(value = "student_id")
    private Long studentId;
    /**
     * 是否已读
     */
    @TableField(value = "is_read")
    private Integer isRead;
    /**
     * 是否确认
     */
    @TableField(value = "is_confirm")
    private Integer isConfirm;
    /**
     * 确认时间
     */
    @TableField(value = "confirm_time")
    private LocalDateTime confirmTime;
    /**
     * 操作人关系
     */
    @TableField(value = "opera_relationship")
    private String operaRelationship;
}
